package com.itheima.xx.dao;

import com.itheima.xx.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Description:
 *
 * @author codermao
 * @date 2023/10/28 15:33
 */
public interface UserMapper {
    /**
     * 分页查询用户和对应的角色信息
     * @param startIndex
     * @param pageSize
     * @return
     */
    List<User> queryAllUsersAndRoles(@Param("startIndex") int startIndex, @Param("pageSize") int pageSize);


}
